﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/MainForm.master" AutoEventWireup="true" CodeFile="SearchResult.aspx.cs" Inherits="Views_SearchResult" %>

<asp:Content ID="Content1" ContentPlaceHolderID="header" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Title" Runat="Server">
    <asp:Label runat="server" ID="lbMessage"></asp:Label>
    <asp:Repeater runat="server" ID="rptSearchBook">
        <HeaderTemplate>
        <table border="1" frame="box">
        <tr align="center" style="font-size:16px">
            <td >Image</td>
            <td>Title</td>
            <td>Author</td>
            <td>Category</td>
            <td>Public Year</td>
            <td>Purpose of sell</td>
        </tr>
    </HeaderTemplate>
    <ItemTemplate>
        <tr>
            <td><asp:Image ID="Image" runat="server" ImageUrl='<%# "../Images/"+Eval("Image")%>' Height="100"/></td>
            <td><%#Eval("Title") %></td>
            <td><%#Eval("Author") %></td>
            <td><%#Eval("CategoryName") %></td>
            <td><%#Eval("PublicationYear") %></td>
            <td><%#Eval("PurposeOfSelling")%></td>
        </tr>
    </ItemTemplate>
    <FooterTemplate>
        </table>
    </FooterTemplate>
    </asp:Repeater>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentRight" Runat="Server">
</asp:Content>

